<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="sidebar" id="sidebar">
	<script type="text/javascript">
			try{ace.settings.check('sidebar','fixed')}catch(e){}
		</script>
	<div class="sidebar-shortcuts" id="sidebar-shortcuts">
		<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
			<button class="btn btn-success">
				<i class="icon-signal"></i>
			</button>

			<button class="btn btn-info">
				<i class="icon-pencil"></i>
			</button>

			<button class="btn btn-warning">
				<i class="icon-group"></i>
			</button>

			<button class="btn btn-danger">
				<i class="icon-cogs"></i>
			</button>
		</div>
		<!--  -->
		<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
			<span class="btn btn-success"></span> <span class="btn btn-info"></span>
			<span class="btn btn-warning"></span> <span class="btn btn-danger"></span>
		</div>
	</div>
	<!-- #sidebar-shortcuts -->
	<ul class="nav nav-list">
		<li class="active" id="menuIndex"><a href="admin/index.do"> 
			<i class="icon-dashboard"></i> <span class="menu-text"> 控制台</span>
		</a></li>
			<li id="menuFeature"><a href="#" class="dropdown-toggle"> 
				<i class="icon-edit"></i> <span class="menu-text">账号管理</span>
				<b class="arrow icon-angle-down"></b></a>
				<ul class="submenu">
					<li id="subUser">
						<a target="mainFrame" href="user/user_list.do" onclick="selectMenu('menuFeature','subUser')">
							<i class="icon-double-angle-right"></i>
							用户管理
						</a>
					</li>
					<li id="subAgent">
						<a target="mainFrame" href="javascript:void(0);" onclick="selectMenu('menuFeature','subAgent')">
							<i class="icon-double-angle-right"></i>
							分组管理
						</a>
					</li>
					</ul>
			</li>
			<li id="menuFeature"><a href="#" class="dropdown-toggle"> 
				<i class="icon-facetime-video"></i> <span class="menu-text">直播管理</span>
				<b class="arrow icon-angle-down"></b></a>
				<ul class="submenu">
				<li id="subCategory">
						<a target="mainFrame" href="category/category_list.do" onclick="selectMenu('menuFeature','subCategory')">
							<i class="icon-double-angle-right"></i>
							直播内容分类
						</a>
					</li>
					<li id="subChannel">
						<a target="mainFrame" href="channel/channel_list.do" onclick="selectMenu('menuFeature','subChannel')">
							<i class="icon-double-angle-right"></i>
							频道管理
						</a>
					</li>
					<li id="cosmetologyRecords">
						<a target="mainFrame" href="cosmetologyRecords/cosmetologyRecords_list.do" onclick="selectMenu('menuFeature','cosmetologyRecords')">
							<i class="icon-double-angle-right"></i>
							消费记录列表
						</a>
					</li>
					</ul>
			</li>
			<li id="menuFeature"><a href="#" class="dropdown-toggle"> 
				<i class="icon-bar-chart"></i> <span class="menu-text">统计信息</span>
				<b class="arrow icon-angle-down"></b></a>
				<ul class="submenu">
					<li id="subDayReports">
						<a target="mainFrame" href="javascript:void(0); onclick="selectMenu('menuFeature','subDayReports')">
							<i class="icon-double-angle-right"></i>
							每日报表
						</a>
					</li>
					<li id="subAgent">
						<a target="mainFrame"  href="javascript:void(0);"  onclick="selectMenu('menuFeature','subAgent')">
							<i class="icon-double-angle-right"></i>
							用户使用报表
						</a>
					</li>
					</ul>
			</li>
			<li id="menuFeature"><a href="#" class="dropdown-toggle"> <i
					class="icon-cog"></i> <span class="menu-text">系统管理</span> <b
					class="arrow icon-angle-down"></b>
			</a>
				<ul class="submenu">
					<li id="subAdmin">
						<a target="mainFrame" href="admin/admin_list.do" onclick="selectMenu('menuFeature','subAdmin')">
							<i class="icon-double-angle-right"></i>
							管理员管理
						</a>
					</li>
					<li id="subLog">
						<a target="mainFrame"  href="javascript:void(0);" onclick="selectMenu('menuFeature','subLog')">
							<i class="icon-double-angle-right"></i>
							系统日志
						</a>
					</li>
					</ul>
			</li>
	</ul>
	<!-- end of navigate-list -->

	<div class="sidebar-collapse" id="sidebar-collapse">
		<i class="icon-double-angle-left" data-icon1="icon-double-angle-left"
			data-icon2="icon-double-angle-right"></i>
	</div>
	<script type="text/javascript">
			try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
		</script>
	<script>
			var pIndexMenuId = "menuIndex";
			var sMenuId = "menuIndex";
			function selectMenu(pid,sid){
				
				if(sid != sMenuId){
					$("#"+sMenuId).removeClass();
					sMenuId = sid;
				}
				if(pid != pIndexMenuId){
					$("#"+pIndexMenuId).removeClass();
					pIndexMenuId = pid;
				}
				$("#"+sid).attr("class","active");
				
				/* var mframe = document.getElementById("mainFrame");
				mframe.src="role/role_list.do"; */
			};
		</script>
</div>